package com.repair.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "修改维修材料状态参数对象")
public class RepairStoreStateForm {
    @ApiModelProperty("修改的材料id")
    @NotNull(message = "修改的材料id不能为空")
    @Min(value = 0,message = "修改的材料id不能小于0")
    private Integer id;
    @ApiModelProperty("修改后的材料状态")
    @NotNull(message = "修改后的材料状态不能为空")
    @Min(value = 0,message = "修改后的材料状态不能小于0")
    private Integer materialState;
}
